﻿#pragma once


// CElementTabView 视图


class CElementTabView : public CTabView
{
	DECLARE_DYNCREATE(CElementTabView)

protected:
	CElementTabView();           // 动态创建所使用的受保护的构造函数
	virtual ~CElementTabView();

public:
#ifdef _DEBUG
	virtual void AssertValid() const;
#ifndef _WIN32_WCE
	virtual void Dump(CDumpContext& dc) const;
#endif
#endif

protected:
	CListCtrl	m_wndElementsList;
	CListCtrl	m_wndElementInfoList;

public:
	void	Populate(unsigned int ckCode, CString strText);

protected:
	void	PopulateChildrenElements(unsigned int ckCode);
	void	AddCheckElement(ck::CheckElement* pElement);
	void	PopulateElemetInfo(unsigned int ckCode);

protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
};


